* progmodes/ada-mode.el: Fix bug#1920, bug#5400.
authorStephen Leake <stephen_leake@member.fsf.org>
Sun, 17 Jan 2010 19:15:32 +0000 (20:15 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Sun, 17 Jan 2010 19:15:32 +0000 (20:15 +0100)
commit62351130ce3a45c8e34640c955d998dfb0465792
tree46f35e5fcc2541cfcd402a3dd2ce1b65670d15e9
parent666c9b3b6a7fc0d278addcac7120cf935700602d
* progmodes/ada-mode.el: Fix bug#1920, bug#5400.
  (ada-ident-re): Delete ., allow multibyte characters.
  (ada-goto-label-re): New; matches goto labels.
  (ada-block-label-re): New; matches block labels.
  (ada-label-re): New; matches both.
  (ada-named-block-re): Deleted; callers changed to use
  `ada-block-label-re' instead.
  (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
  Use `ada-block-label-re'.
  (ada-indent-on-previous-lines): Improve handling of goto labels.
  (ada-get-indent-block-start): Special-case block label.
  (ada-get-indent-label): Split into `ada-indent-block-label' and
  `ada-indent-goto-label'.
  (ada-goto-stmt-start, ada-goto-next-non-ws): Optionally ignore goto labels.
  (ada-goto-next-word): Simplify.
  (ada-indent-newline-indent-conditional): Insert newline before
  trying to fix indentation; doc fix.
lisp/ChangeLog
lisp/progmodes/ada-mode.el